![]() |
PBRenameUnicodeSync |
||||
Header: | Files.h | Carbon status: | Supported | |
Renames a file or folder.
OSErr PBRenameUnicodeSync ( FSRefParam *paramBlock );
A pointer to a parameter block.
A result code.
The relevant fields of the parameter block are:
On input, a pointer to a completion routine.
On output, the result code of the function.
On input, the file or directory to be renamed.
On input, the length of the new name in Unicode characters.
On input, a pointer to the new Unicode name of the specified file or directory.
On input, a suggested text encoding to use for the name; pass kTextEncodingUnknown to use a default value.
On output, a a pointer to the new FSRef for the file or directory. This parameter is optional and you may set it to NULL.
Supported in Carbon. Available in Mac OS 9, and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)